import request from '@/config/axios'
import type {
    TableData,
    TableDataRegister
} from './types'
/* 登录日志 */
export const getTableListRegister = (params: any): Promise<TableDataRegister> => {
  return request.get({ url: 'http://localhost:8081/login/selLoginLogs', params })
}
/* 系统信息 */
export const systemTableApi = () => {
  return request.get({ url: 'http://localhost:8081/login/selSystemInfo'})
}
/* 账户设置 */
/*export const getTableDetApi = () => {
  return request.get({ url: 'http://localhost:8081/login/Account'})
}*/

export const delTableListApi = (ids: string[] | number[]): Promise<IResponse> => {
  return request.post({ url: '/example/delete', data: { ids } })
}
